import { defineConfig } from "wxt";

export default defineConfig({
  dev: {
    server: {
      port: 5000,
    },
  },
  manifest: {
    host_permissions: ["http://*/*", "https://*/*"],
    web_accessible_resources: [
      {
        resources: ["fetchInterceptor.js"],
        matches: ["<all_urls>"],
      },
    ],
    permissions: ["webRequest"], // 移除 webRequestBlocking
    // options_ui: {
    //   page: "/option.html",
    //   open_in_tab: true,
    // },
  },
});
